//
//  CellectModel.m
//  FMSQL
//
//  Created by dllo on 15/5/27.
//  Copyright (c) 2015年 李凯萌. All rights reserved.
//

#import "CellectModel.h"

@implementation CellectModel
- (void)dealloc
{
    [_titleName release];
    [_imageName release];
    [_videoUrl release];
    [_people release];
    [super dealloc];
}
- (instancetype)initWithTitleName:(NSString *)titleName imageName:(NSString *)imageName videoUrl:(NSString *)videoUrl people:(NSString *)people
{
    self = [super init];
    if (self) {
        self.titleName = titleName;
        self.imageName = imageName;
        self.videoUrl = videoUrl;
        self.people = people;
    }
    return self;
}

+ (CellectModel *)titleName:(NSString *)titleName imageName:(NSString *)imageName videoUrl:(NSString *)videoUrl people:(NSString *)people
{
    CellectModel *model = [[CellectModel alloc] initWithTitleName:titleName imageName:imageName videoUrl:videoUrl people:people];
    return [model autorelease];
}

@end
